home *** CD-ROM | disk | FTP | other *** search
- Path: hermes.is.co.za!news
- From: Wiekus Beukes <wiekusb@hipsys.co.za>
- Newsgroups: comp.lang.c,comp.os.linux.development.apps,comp.programming,comp.unix.programmer
- Subject: Re: Changing pipe capacity
- Date: Thu, 29 Feb 1996 14:46:28 +0200
- Organization: No organisation supplied
- Message-ID: <3135A024.4409@hipsys.co.za>
- References: <4gt4c9$mds$1@mhade.production.compuserve.com> <4h3b9q$mok@krel.iea.com>
- NNTP-Posting-Host: charon.hipsys.co.za
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; HP-UX A.09.05 9000/712)
-
- Larry Blanchard wrote:
- >
- > Xavi Roig Gracia (101522.2001@CompuServe.COM) wrote:
- > : Hi !
- >
- > : I am using pipes in a personal development (with Linux
- > : and gcc) and I detect that the pipe capacity is 4096 bytes by
- > : default. I need a capacity greather than 4096 bytes (for send
- > : and receive a unique missatge between processes in a 8192 bytes
- > : format).
- >
- > : Question:
- >
- > : - How can I change the default pipe capacity ?
- >
- > : Thanks in advance !
- >
- > : --
- > : Xavi Roig Gracia (101522.2001@compuserve.com)
- > : Universitat Autonoma de Barcelona
- > : Catalonia - Europe
- >
- > Why bother? - use a message queue instead.
-
- The only problem with messages is that you cannot select() on it :-(.
- It does not use
- file descriptors, so it get's ugly (SIGNALS) intergrating this with
- sockets and timeout
- handlers.
-
- Wiekus
-